package edu.mcw.rgd.clinminer.web.utils;

import com.vaadin.ui.Window;
import com.vaadin.ui.Window.Notification;

public class NotificationErrorTop extends Notification {
	private static final long serialVersionUID = 1L;

	public NotificationErrorTop(String caption, String description) {
		super(caption, description, Notification.TYPE_ERROR_MESSAGE, true);
		setPosition(Window.Notification.POSITION_CENTERED_TOP);
		setDelayMsec(2000);
	}

}
